package com.zx.framework.plat.user.vo;

import java.util.ArrayList;
import java.util.List;

import com.zx.framework.plat.company.po.Company;
import com.zx.framework.plat.dept.po.Dept;
import com.zx.framework.plat.position.po.Position;
import com.zx.framework.plat.role.po.Role;
import com.zx.framework.plat.user.po.User;

public class UserVo extends User {
	
	private List<Company> companys = new ArrayList<Company>();
	
	private List<Role> roles = new ArrayList<Role>();
	
	private List<Position> positions = new ArrayList<Position>();
	
	private Dept dept;
	
	private List<Dept> depts = new ArrayList<Dept>();
	/**
	 * 用户所拥有的菜单权限
	 */
	private List<String> urls = new ArrayList<String>();
	public List<Role> getRoles() {
		return roles;
	}
	public void setRoles(List<Role> roles) {
		this.roles = roles;
	}
	public List<Position> getPositions() {
		return positions;
	}
	public void setPositions(List<Position> positions) {
		this.positions = positions;
	}
	public Dept getDept() {
		return dept;
	}
	public void setDept(Dept dept) {
		this.dept = dept;
	}
	public List<Dept> getDepts() {
		return depts;
	}
	public void setDepts(List<Dept> depts) {
		this.depts = depts;
	}
	public List<String> getUrls() {
		return urls;
	}
	public void setUrls(List<String> urls) {
		this.urls = urls;
	}
	public List<Company> getCompanys() {
		return companys;
	}
	public void setCompanys(List<Company> companys) {
		this.companys = companys;
	}
}
